<html>

<head>
<title>Authorize form. {$SPIcfg.project_name|escape}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<link href="{$content.link_minify_css|escape}" rel="stylesheet" type="text/css" />
<script src="{$content.link_minify_js|escape}" language="JavaScript"></script>
<link rel="shortcut icon" href="{$SPIcfg.dir.pubsite_root|escape}favicon.ico?build=1" type="image/x-icon" />
<link rel="icon" href="{$SPIcfg.dir.pubsite_root|escape}favicon.ico?build=1" type="image/x-icon" />
<script>
$(document).ready( page_starup );
</script>
</head>

<body>
<form name="frm" method="post">
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr>
    <td>&nbsp;</td>
    <td align="center" width="400">
    {include file="stddecor.form.open.tpl" }
        <div class="center">

            <div class="logo"><img src="{$SPIcfg.dir.pubsite_styles|escape}manage/image/logo.png" width="130" border="0" alt="{$SPIcfg.project_name|escape}" /></div>

            <div style="padding: 0px 20px; height: 45px;" align="left">
                <h1>Authorize form</h1>
                <h2>Enter login & password please</h2>
            </div>

            <div class="splitter padded"></div>

            <center>
            <table width="60%" cellspacing="6" cellpadding="0">
            {if $content.last_login_message == $smarty.const.SPI_IAM_ERRMSG_USER_NOT_EXIST }
            <tr>
                <td colspan="2"><div class="error_box center">USER_NOT_EXIST</div></td>
            </tr>
            {elseif $content.last_login_message == $smarty.const.SPI_IAM_ERRMSG_ACCESS_DENY }
            <tr>
                <td colspan="2"><div class="error_box center">ACCESS_DENY</div></td>
            </tr>
            {/if}

            <tr>
                <td align="right">Login:</td>
                <td width="200"><input type="text" name="admin_login:login" class="login_text" value="{$content.login|escape}" /></td>
            </tr>

            <tr>
                <td align="right">Passwd:</td>
                <td><input type="password" name="admin_login:password" class="login_text" /></td>
            </tr>
            </table>

            <input type="submit" value="Login" style="width:70px" class="login_button" />
            </center>

            <div class="splitter padded"></div>

            <div>
                <a href="{$SPIcfg.project_url|escape}" class="tiny">{$SPIcfg.project_name|escape}</a>
            </div>
        </div>
    {include file="stddecor.form.close.tpl" }
    </td>
    <td>&nbsp;</td>
</tr>
</table>
</form>
</body>

</html>